
/*
 * @ author Junr
 * @ use 用户相关
 */
import Request from '../request';
// import tools from '../../utils/tools';
export default {
  // 文件上传
  fileUpload(params) {
    return Request.post({ url: `/m/upload`,
      params
    });
  },
  // 获取全局信息
  settingInfo(params) {
    return Request.post({ url: `/m/setting/info`,
      params
    });
  }
};
